package com.zwj.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description= "老师作业审批查询条件")
public class QueryHomework implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @ApiModelProperty(value = "项目名字")
    private String courseName;
    @ApiModelProperty(value = "作业主题")
    private String title;
    @ApiModelProperty(value = "实训老师")
    private String  teaName;
    @ApiModelProperty(value = "计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date completeDate;
    @ApiModelProperty(value = "提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date completeTime;
    @ApiModelProperty(value = "小组")
    private String teamName;
    @ApiModelProperty(value = "作业类型，参见WorkType枚举;0平时作业，1阶段性作业，2最终交互作业")
    private String workType;
    @ApiModelProperty(value = "学生姓名")
    private String studentName;
    @ApiModelProperty(value = "是否批复,0表示未批复,1表示已批复")
    private String types;
    @ApiModelProperty("当前页(默认1)")
    private Integer current;
    @ApiModelProperty("当前页size(默认10)")
    private Integer size;
}
